package com.guigu.Curriculum.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 课程类别
 * </p>
 *
 * @author liulinjun
 * @since 2020-07-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ab_course_sort")
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class AbCourseSort implements Serializable {

    private static final long serialVersionUID=1L;

      /**
     * 课程类别ID
     */
        @TableId(value = "sort_id", type = IdType.AUTO)
      private Integer sortId;

      /**
     * 课程类别标题
     */
      private String sortTitle;

      /**
     * 父类id
     */
      private AbCourseSort abCourseSort;

      /**
     * 创建时间
     */
      @TableField(fill = FieldFill.INSERT)
      private LocalDateTime sortCreateTime;

      /**
     * 修改时间
     */
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private LocalDateTime sortUpdateTime;


}
